<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>管理员密码修改</title>

    <script type="text/javascript">
        function checkLength(){
            //确定输入的长度
            var domPassword = document.getElementById("password").value;
            if(domPassword.length < 6){
                alert("密码最少输入6字符");
            }
        }
    </script>

</head>

<body>
    <form action="/hexu/administrator/update" method="get">
        密码修改为：
        <input type="text" name="password" id="password"/>
        <input type="submit" value="确定" onclick="checkLength()"/>
    </form>
</body>
</html>